package com.xiaoke.java2;

/**
 * @author yd
 * @version 1.0
 * @date 2022/2/21 23:07
 */
public class SynchronizedTest {

    public void f(){
        Object hollis = new Object();
        synchronized (hollis){
            System.out.println(hollis);
        }
    }
}
